package com.imooc.service;

import com.imooc.dto.OrderDTO;

/**
 * FileName: BuyerService.java
 * Description: 买家Service
 *
 * @author HuangRI(874668739 @ qq.com)
 * @version 1.0
 * @date 2020/12/24
 */
public interface BuyerService {

    /**
     * 查询一个订单
     * @param openid openid
     * @param orderId orderId
     * @return OrderDTO
     */
    OrderDTO findOneOrder(String openid, String orderId);

    /**
     * 取消订单
     * @param openid openid
     * @param orderId orderId
     * @return OrderDTO
     */
    OrderDTO cancelOrder(String openid, String orderId);
}
